package org.nstack.header.network.service;

import org.nstack.header.message.APIReply;
import org.nstack.header.rest.RestResponse;

import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

 

@RestResponse(fieldsTo = {"types=serviceAndProviderTypes"})
public class APIGetNetworkServiceTypesReply extends APIReply {
     
    private Map<String, List<String>> serviceAndProviderTypes;

    public Map<String, List<String>> getServiceAndProviderTypes() {
        return serviceAndProviderTypes;
    }

    public void setServiceAndProviderTypes(Map<String, List<String>> serviceAndProviderTypes) {
        this.serviceAndProviderTypes = serviceAndProviderTypes;
    }
 
    public static APIGetNetworkServiceTypesReply __example__() {
        APIGetNetworkServiceTypesReply reply = new APIGetNetworkServiceTypesReply();

        Map<String, List<String>> serviceAndProviderTypes = new HashMap<>();
        serviceAndProviderTypes.put("SecurityGroup", Arrays.asList(uuid()));

        reply.setServiceAndProviderTypes(serviceAndProviderTypes);
        return reply;
    }

}
